# f = open("1.jpg",mode="rb")
# rb ,wb,ab 不能指定编码
# print(f.read())  # read()  全部读取
# print(f.read(3)) # 字节

# import requests
# ret = requests.get("http://www.521609.com/uploads/allimg/151124/1-1511241G251317.png")
# f = open("2.jpg",mode="wb")
# f.write(ret.content)
# f.close()


